package com.leapp.sk.ui.adapter

import android.content.Context
import com.example.mvp.adapter.BaseLibAdapter
import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.bean.FeedBackEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.adapter.personal.FeedBackAdapterDelegate

/**
 * 反馈视图托管类
 * @author  chaohaipeng  on 2018/8/9.
 */
class FeedBackAdapter(context: Context, mlist: List<FeedBackEntity>):BaseLibAdapter<FeedBackAdapterDelegate, FeedBackEntity>(context, mlist) {
    /**
     * 数据
     */
    val mList = mlist
    /**
     * 上下文
     */
    val mContext = context
    override fun bindEvenListener(viewDelegate: FeedBackAdapterDelegate?, position: Int) {
    }

    override fun notifyView(viewDelegate: FeedBackAdapterDelegate?, position: Int) {
    }

    override fun getDelegateClass(): Class<FeedBackAdapterDelegate> {
        return FeedBackAdapterDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }


}